package com.evil.application.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.evil.application.pojo.entity.ApplicationFormSnRule;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * 表单编号规则表
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
public interface ApplicationFormSnRuleMapper extends BaseMapper<ApplicationFormSnRule> {

    List<ApplicationFormSnRule> findByFormId(Long formId);

    List<ApplicationFormSnRule> findByFormIds(@Param("formIds") Collection<Long> formIds);
}